package com.steven.design.JieGou_Pattern.decorate.touming;

public class AddDisk implements IComputer{

    private IComputer computer;

    public AddDisk(IComputer zuZhuangJI){
        this.computer=zuZhuangJI;
    }


    @Override
    public int getPrice() {
        return computer.getPrice()+50;
    }
}
